import routerName from './routerName'
export interface IMenuData {
  path?: string;
  title: string;
  icon?: string;
  submenu?: null | ISubMenuData;
}

interface ISubMenuData {
  submenuTitle: string;
  belong: string;
  icon: string;
  submenuItems: IMenuData[]
}

export const NORMAL_USER: IMenuData[] = [
  {
    path: "/Main",
    title: routerName["/Main"],
    icon: 'icon-shouye',
    submenu: null,
  },
  {
    path: "/TargetWarningRules",
    title: routerName["/TargetWarningRules"],
    icon: 'icon-yujing',
    submenu: null,
  },
  {
    path: "/IPMetadata",
    title: routerName["/IPMetadata"],
    icon: 'icon-database',
    submenu: null,
  },


  // {
  //   path: "/IPSourceMaterial",
  //   title: routerName["/IPSourceMaterial"],
  //   icon: 'icon-sucaiku',
  //   submenu: null,
  // },
  // {
  //   path: "/UserBehaviorReview",
  //   title: routerName["/UserBehaviorReview"],
  //   icon: 'icon-svg-',
  //   submenu: null,
  // },
  // {
  //   path: "/TargetCorrelationAnalysis",
  //   title: routerName["/TargetCorrelationAnalysis"],
  //   icon: 'icon-guanlian',
  //   submenu: null,
  // },
  // {
  //   path: "/AnalysisAttackBehavior",
  //   title: routerName["/AnalysisAttackBehavior"],
  //   icon: 'icon-gongjifenxi',
  //   submenu: null,
  // },
  // {
  //   path: "/UserManager",
  //   title: routerName["/UserManager"],
  //   icon: 'icon-yonghu',
  //   submenu: null,
  // },
  // {
  //   path: '',
  //   title: '',
  //   submenu: {
  //     submenuTitle: '系统管理',
  //     icon: 'icon-shezhixitongshezhigongnengshezhishuxing',
  //     belong: '',
  //     submenuItems: [
  //       {
  //         path: '/SoftwareConfiguration',
  //         title: routerName['/SoftwareConfiguration'],
  //         icon: 'icon-shebeiguanli',
  //         submenu: null
  //       },
  //       {
  //         path: '/ConditionMonitoring',
  //         title: routerName['/ConditionMonitoring'],
  //         icon: 'icon-zhujijiankong',
  //         submenu: null
  //       }
  //     ]
  //   }
  // }
];
